package com.demo.design.creational.simplefactory;

import java.math.BigDecimal;

public class Potato implements Vagetable{
    @Override
    public String getProductName() {
        return "土豆";
    }

    @Override
    public BigDecimal price() {
        return BigDecimal.valueOf(1.25);
    }
}
